package chapter11;
/**
 * 台式电脑
 */
public class Desktop extends RobotBrain{
    public Desktop(){}
    public Desktop(String cpu,int memory){
        super(cpu,memory);
    }
    public void show(){
        System.out.println("这是一台搭载了"+ getCpu() +"的电脑 "+"   有" + getMemory()+"G  内存");
    }
    public void feature() {
        System.out.println("稳定高效就选台式电脑");
    }
}
